package com.sale.salesystem.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class DashboardChartDTO {
    @NotBlank(message = "图表标题不能为空")
    private String title;
    
    @NotBlank(message = "图表类型不能为空")
    private String type;
    
    @NotNull(message = "数据源配置不能为空")
    private String dataSource;
    
    private String options;
    
    private Integer displayOrder;
} 